/*
 * person.h
 *
 *  Created on: 14/09/2010
 *      Author: dela
 */

#ifndef PERSON_H_
#define PERSON_H_

#if !defined(ACTOR)
#define TYPE_ACTOR 0
#endif
#if !defined(DIRECTOR)
#define TYPE_DIRECTOR 1
#endif
#if !defined(ESCRITOR)
#define TYPE_WRITER 2
#endif

typedef struct {
	int id;
	char type;
	char *name;
} TPerson;

void person_destroy( TPerson *person );

#endif /* PERSON_H_ */
